﻿using System;
using System.Collections.Generic;

namespace ABCat.Core.Plugins.DataSets
{
	public interface IAudioBookGroupSet : IObjectSet<IAudioBookGroup>
	{
		IEnumerable<IAudioBookGroup> GetRecordGroupsUpdatedBefore(DateTime lastUpdate);
		IEnumerable<IAudioBookGroup> GetRecordGroupsAll();
		IEnumerable<IAudioBookGroup> GetRecordGroupsByIds(HashSet<int> groupIds);
		IAudioBookGroup GetRecordGroupByKey(string key);
		IAudioBookGroup CreateRecordGroup();
		void AddRecordGroup(IAudioBookGroup group);
		void AddChangedRecordGroups(params IAudioBookGroup[] audioBookGroups);
		void SaveAudioBookGroups();
	}
}